<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		

		function a(num) {
			document.write("<table border='1'>");

			for (var i =  1; i < num; i++) {
				document.write("<tr>");
				for (var j =1 ; j < num; j++) {
					document.write("<td style='background:red'>"+i+"*"+j+"="+i*j+"</td>");
				}
				document.write("</tr>");
			}

			document.write("</table>");
		}

		function d(t) {
			document.write(t)
		}

		function a() {
			alert("系统有误");
		}

		age = 23;

		if(age<20){
			a();
		}

	</script>

</head>
<body>
	
</body>
</html>